/*
 * @Author: 蛋蛋
 * @Date: 2021-08-05 16:09:27
 * @LastEditors: 脉迈
 * @LastEditTime: 2021-10-19 15:20:12
 */

interface ImageProps {
  src?: string;
  link?: string;
}

const BlockImage = (props: ImageProps) => {
  return (
    <>
      <a href={props.link}>
        <img src={props.src} width="100%" height="100%" alt={props.src}></img>
      </a>
    </>
  );
};

export default BlockImage;
